package org.dromara.bean.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.bean.domain.HisGoodsOrder;
import org.dromara.bean.domain.HisPatient;
import org.dromara.bean.domain.bo.HisGoodsOrderBo;
import org.dromara.bean.domain.bo.HisPatientBo;
import org.dromara.bean.domain.vo.HisGoodsOrderVo;
import org.dromara.bean.domain.vo.HisPatientVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;
import java.util.Map;

/**
 * 商城订单Mapper接口
 *
 * @author Lion Li
 * @date 2024-12-23
 */
public interface HisGoodsOrderMapper extends BaseMapperPlus<HisGoodsOrder, HisGoodsOrderVo> {

    Page<HisGoodsOrderVo> orderList (Page<HisGoodsOrderVo> page, @Param("bo") HisGoodsOrderBo hisGoodsOrderBo, @Param("params")Map<String, Object> params);
    List<HisGoodsOrderVo> orderList ( @Param("bo") HisGoodsOrderBo hisGoodsOrderBo, @Param("params")Map<String, Object> params);

    HisGoodsOrderVo orderInfo (Long id);

    String getOrderNumberById(String id);
}
